class A:

    def __init__(self, name):
        self.name = name
        self.__age = 2

    def func1(self):
        print('funct1------------')

    def __func2(self):
        print('funct2------------')

    def get_age(self):
        print(self.__age)


class B(A):
    pass


b = B('rose')
print(b)

b.func1()
print(b.name)

b.get_age()
